package com.yehun.exception;


import com.yehun.enums.ResultEnum;

/**
 * 一般异常
 * Created by Genius on 2017/3/27 0027.
 */
public class ErrorException extends CustomException {

    private static final long serialVersionUID = 1502731209099198953L;

    ErrorException(ResultEnum code) {
        super(code);
    }

    public ErrorException(String message) {
        super(message);
    }

    ErrorException(Throwable cause) {
        super(cause);
    }

    public ErrorException(ResultEnum code, String message) {
        super(code, message);
    }

    ErrorException(String message, Throwable cause) {
        super(message, cause);
    }
}
